package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

/**
 * @author Cat
 * @date 2024/5/28 11:43
 */
public interface NursingProjectService {
    /**
     * 根据条件分页查询
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingProjectVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     *新增护理项目
     * @param nursingProjectDto
     */
    void insertNursingProject(NursingProjectDto nursingProjectDto);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingProjectVo getById(Long id);

    void update(NursingProjectDto nursingProjectDto);

    /**
     * 根据id删除
     * @param id
     */
    void del(Long id);

    /**
     * 根据id修改状态
     * @param id
     * @param status
     */
    void updateStatus(Long id, Integer status);
}
